#include("/common/layout/bootstrap_form_layout.html")
#@layout()
#define title()
jac demo
#end
#define head()
    <script>
    seajs.use(["jquery","jx_msgbox","jac"], function ($,msgbox,jac)
    {
      $(function()
      {
        jac.initAll() ;
        $("#b_submit").click(function()
        {
          msgbox.alert({url:"#(jxwebpath.item)common/html/common-case-jac"}) ;
        });
      });
    });
    </script>
#end

#define form()

<div class="input-group">
                        <input type="text" class="form-control" id="parentName" jac_url="#(jxwebpath.item)service/area/list/" jac_viewnum_url="#(jxwebpath.item)service/area/viewNum/" jac_id="parentId">
                        <div class="input-group-btn">
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu dropdown-menu-right" role="menu">
                            </ul>
                        </div>
                        <!-- /btn-group -->
                    </div>
<input type="text" class="jac_select" size="40" value="" id="parentName1"  jac_change="changeArea()" />
<input type="text" class="jac_select" size="40" value="" id="parentId" />    

		#jx_button({value:"action.save",class:"btn btn-primary"})
#end